package com.zimin.cloud.system.service;

import com.zimin.cloud.mine.pojo.system.business.AccountBO;
import com.zimin.cloud.system.pojo.entity.AccountPost;
import com.zimin.mapper.pojo.IBaseService;

import java.io.Serializable;
import java.util.Collection;

/**
 * <p>
 * 用户岗位关联表 服务类
 * </p>
 *
 * @author zimin
 * @since 2021-12-30 11:05
 */
public interface IAccountPostService extends IBaseService<AccountPost> {

    /**
     * <p>根据岗位ID删除中间表数据</p>
     *
     * @param idList
     * @return boolean
     * @since 2022-03-14 10:44:33
     */
    boolean removeByPostIds(Collection<? extends Serializable> idList);

    boolean save(AccountBO accountBO);

    boolean update(AccountBO accountBO);
}
